<%= form_for(@dscore) do |f| %>
  <% if @dscore.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@dscore.errors.count, "error") %> prohibited this dscore from being saved:</h2>

      <ul>
      <% @dscore.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :rate %><br />
    <%= f.text_field :rate %>
  </div>
  <div class="field">
    <%= f.label :status %><br />
    <%= f.text_field :status %>
  </div>
  <div class="field">
    <%= f.label :user_id %><br />
    <%= f.text_field :user_id %>
  </div>
  <div class="field">
    <%= f.label :user_name %><br />
    <%= f.text_field :user_name %>
  </div>
  <div class="field">
    <%= f.label :dish_id %><br />
    <%= f.text_field :dish_id %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
